package com.zhifei.web.controller.xrxs;

import com.alibaba.fastjson.JSONObject;
import com.xinrenxinshi.domain.JobHeaderModel;
import com.xinrenxinshi.openapi.OpenapiResponse;
import com.zhifei.common.utils.Result;
import com.zhifei.system.service.XrxsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/xrxs")
@Api(tags="薪人薪事接口管理")
public class XrxsController {

    @Autowired
    private XrxsService xrxsService;

//    @PostMapping("/callBack")
//    @ApiOperation("薪人薪事事件订阅")
//    public Map<String, String> callBack(@RequestParam(value = "sign", required = false) String sign,
//                                        @RequestBody(required = false) JSONObject json) {
//        return xrxsService.callBack(sign,json);
//    }

//    @GetMapping("/listJob")
//    @ApiOperation("岗位列表")
//    public OpenapiResponse<List<JobHeaderModel>> listJob(){
//        return xrxsService.listJob();
//    }
//
//    @GetMapping("/listExpatriateOffjob")
//    @ApiOperation("外派人员列表（离职）")
//    public Result listExpatriate(){
//        return xrxsService.listExpatriateOffjob();
//    }

//    @GetMapping("/listWages")
//    @ApiOperation("工资列表")
//    public Result listWages(String month){
//        return xrxsService.listWages(month);
//    }

}


